<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>趋势查询</title>
		<link rel="stylesheet" type="text/css" href="../css/home.css" />
		<link rel="stylesheet" type="text/css" href="../css/fontawesome/css/font-awesome.css" />
		<link rel="stylesheet" type="text/css" href="../css/weui.min.css" />
		<link rel="stylesheet" type="text/css" href="../css/jquery-weui.min.css" />
		<link rel="stylesheet" type="text/css" href="../css.page/statistics/statisticsCycle.css" />
		<style type="text/css">
			.statistics-cycle-title {
				display: -webkit-box;
				height: 35px;
				-webkit-box-align: center;
				color: #666666;
			}
			
			.statistics-cycle-title .title {
				line-height: 23px;
				height: 25px;
			}
			
			.statistics-cycle-title .iconBack {
				margin-left: 10px;
				color: #666666;
				width: 25px;
				height: 25px;
				line-height: 25px;
				font-size: 18px;
			}
		</style>
	</head>

	<body ontouchstart>
	</body>

	<script src="../js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/jquery-weui.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/fastclick.js" type="text/javascript" charset="utf-8"></script>
	<!--<script src="../js.page/statistics/statisticsCycle.js" type="text/javascript" charset="utf-8"></script>-->
	<script type="text/javascript">
	
		var cycleVue = new Vue({
			el: "body",
			data: {
				statrYear: "",
				startWeek: "",
				endYear: "",
				endWeek: ""
			},
			methods: {
				searchCycle: function() {
					var selectYear = $("#yearDate").val();
					var selectMonth = $("#dateDate").val();
					if(selectYear.length > 0 && selectMonth.length > 0) {
						location.href = "statisticsChartNew.html?selectYear=" + parseInt(selectYear) + "&selectMonth=" + parseInt(selectMonth)
					} else {
						$.toast("请输入完整查询周期", "cancel", function(toast) {});
					}
				},
				back: function() {
					window.history.go(-1); //返回上一页
				}
			},
			created: function() {
				_this = this
			}
		})
	</script>

</html>